package com.service.core.rest.response;

import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * 多条数据返回
 */
@Setter
@Getter
public class MultiResponse<T> extends BaseResponse {

    private List<T> data;

    public MultiResponse() {
    }

    public MultiResponse(Integer status, String desc, List<T> data) {
        super(status, desc);
        this.data = data;
    }
}
